﻿using System;
using System.Web.UI;



namespace mojoPortal.Web.RS.SBM
{
    public partial class RSViewVisits : RSBasePage
    {
        int _companyid = 0;

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                InitializeReadyServicePage("Service Visits");
                RSUserIdentity userIdentity = GetRSUserIdentity();
                _companyid = userIdentity.RSCompanyId;

                if (_companyid > 0)
                    ucLocationAppointmentListControl.LoadAppointmentDataByAll(_companyid);
            }
        }


    }

}
